PERFORM CHECKLIST FOR CONTROL DEVICES

This command will make a checklist of all installed control devices.

  Syntax
PERFORM CHECKLIST FOR CONTROL DEVICES
  Returns

This command does not return a value.

  Description

Control devices can range from a force-feedback joystick to head mounted displays. You can read the name of each found device by reading the Checklist String after using this command. Additionally, you can determine whether the control device has forcefeedback capability by checking for a value of 1 in Checklist Value A. In general, most devices simply provide input to the program in a standard X, Y and Z axis format. Use the CHECKLIST commands in the SYSTEM command set to read the checklist.

  Example Code
rem Prepare Force Feedback (if available)
ForcePresent=0
empty checklist
PERFORM CHECKLIST FOR CONTROL DEVICES
for c=1 to checklist quantity()
if checklist value a(c)=1
SET CONTROL DEVICE checklist string$(c)
ForcePresent=1
endif
next c
end
  See also

INPUT Commands Menu
Index